package whf.framework.security.dao;

import java.util.List;

import whf.framework.exception.FindException;
import whf.framework.security.entity.Role;
import whf.framework.security.entity.User;

/**
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2006-05-31
 */
public interface RoleDAO extends whf.framework.dao.DAO<Role> {

	/**
	 * @modify wanghaifeng Mar 13, 2007 10:34:56 PM
	 * @param user
	 * @return
	 * @throws FindException
	 */
	public List<Role> findByUser(User user) throws FindException;
} 